Part Number Hot Search : 
A2002 CAT809 M51943A P75N05HD RJK0346 SE145 DS21FF42 NH12AB
Product Description
Full Text Search
 

To Download SC73P1601 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 SC73P1601
4-BIT MCU FOR REMOTE CONTROLLER(OTP TYPE)
DESCRIPTION
SC73P1601 is one of Silan' 4-bit CMOS single-chip micros controllers for infrared remote control transmitters (IRCTs). It can be implemented in various IRCTs circuits by OTP program. And it is compatible with SC73C1602 on software and package.
SOP-20-300-1.27 SOP-20-375-1.27
FEATURES
* Wide operating voltage (2.0~4.0V), and low static power consumption (<1A) * OTP: 1K x 9 bits * RAM: 16 x 4bits * Timer/counter: (10~15 bits) * 8-bit timer, generates various carrier frequencies and outputs carrier duty * 16 I/O pins, four 4-bit programmable I/O ports (except P50 and P53) * Oscillator frequency (fosc): fosc=4MHz(TYP.) * Operating frequency: fmain=fosc/8 * Instruction cycle: 5/fmain * Support low voltage detection
SSOP-20-300-0.65 SSOP-20-225-0.65
APPLICATIONS
* Infrared remote control device * TV controller * Video Cassette Recorder controller * VTR, laser phonograph and acoustics remote controller
ORDERING FORMATION
www..com
Part No. SC73P1601M SC73P1601MTR SC73P1601MA SC73P1601MATR SC73P1601MC SC73P1601MCTR SC73P1601MD SC73P1601MDTR SC73P1601MG SC73P1601MGTR
Package SSOP-20-300-0.65 SSOP-20-300-0.65 SOP-20-300-1.27 SOP-20-300-1.27 SSOP-20-225-0.65 SSOP-20-225-0.65 SOP-20-375-1.27 SOP-20-375-1.27 SSOP-20-300-0.65 SSOP-20-300-0.65
Marking SC73P1601M SC73P1601M SC73P1601MA SC73P1601MA SC73P1601MC SC73P1601MC SC73P1601MD SC73P1601MD SC73P1601MG SC73P1601MG
Material Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Halogen free Halogen free
Package Type Tube Tape & Reel Tube Tape & Reel Tube Tape & Reel Tube Tape & Reel Tube Tape & Reel 2009.08.03 Page 1 of 22
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
SC73P1601
Part No. SC73P1601MAG SC73P1601MAGTR SC73P1601MCG SC73P1601MCGTR SC73P1601MDG SC73P1601MDGTR Package SOP-20-300-1.27 SOP-20-300-1.27 SSOP-20-225-0.65 SSOP-20-225-0.65 SOP-20-375-1.27 SOP-20-375-1.27 Marking SC73P1601MAG SC73P1601MAG SC73P1601MCG SC73P1601MCG SC73P1601MDG SC73P1601MDG Material Halogen free Halogen free Halogen free Halogen free Halogen free Halogen free Package Type Tube Tape & Reel Tube Tape & Reel Tube Tape & Reel
BLOCK DIAGRAM
www..com
ABSOLUTE MAXIMUM RATINGS (Otherwise specified, Tamb=25C)
Characteristics Supply Voltage Input Voltage Output Current Power Dissipation Storage Temperature Operating Temperature Symbol VDD VIN IOUT (P53) PD Tstg Topr Rating -0.3 ~ +5.0 -0.3~VDD+0.3 -9 500 -40~+125 -20~+75 Unit V V mA mW C C
ELECTRICAL CHARACTERISTICS (Tamb=25C, VDD=3.0V)
Characteristics Power Supply Power Reset Operating Current Oscillation Frequency Symbol VDD VPOC IDD FOSC Test Conditions In all the functions In all the functions In operating mode In operating mode Min. 2 1.4 -2M -4M Typ. -Max. 4 1.6 1.0 6M Unit V V mA Hz
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 2 of 22
SC73P1601
Characteristics Quiescent Current Symbol IDS Test Conditions Oscillator stops P50 P00-P03 Input Pull-Down Resistor R VDD=3V P10-P13 P20-P23 P51-P52 Input High Level Voltage Input Low Level Voltage VIH VIL --P53 Output High Level Current IOH VDD=3V VOH=2.7V P00-P03 P10-P13 P20-P23 P51-P52 P53 Output Low Level Current IOL VDD=3V VOL=0.3V P00-P03 P10-P13 P20-P23 P51-P52 --0.17 mA -10.8 ---0.8 -mA 0.7VDD 0 ----9.0 VDD 0.3VDD -V V 60 75 90 K Min. -50 Typ. -60 Max. 1 70 Unit A K
PIN CONFIGURATIONS
1.Normal working mode 2.EPROM programming mode
SC73P1601M/MA/MC/MD
www..com
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 3 of 22
SC73P1601
PIN DESCRIPTIONS
Normal mode Symbol VDD GND XT1 XT2 P00~P03 Power Supply (2.0V~4.0V) Ground Oscillator output pin Oscillator input pin 4-bit I/O pin. In input mode, it is used as the keyboard-scan input port (with internal pull-down resistor). In output mode, it is used as the keyboard-scan output port. 4-bit I/O pin. P10~P13 In input mode, it is used as the keyboard-scan input port (with internal pull-down resistor). In output mode, it is used as the keyboard-scan output port. 4-bit I/O pin. P20~P23 P50 P51 In input mode, it is used as the keyboard-scan input port (with internal pull-down resistor). In output mode, it is used as the keyboard-scan output port. 1-bit input pin with pull-down resistor, used for keyboard-scan input. 1-bit I/O pin. In input mode, it is used as the keyboard-scan input port (with internal pull-down resistor). In output mode, it is used as the keyboard-scan output port. 1-bit I/O pin. P52 P53
www..com
Description
In input mode, it is used as the keyboard-scan input port (with internal pull-down resistor). In output mode, it is used as the keyboard-scan output port, Outputs remote control signal with carrier or without carrier.
Programming mode: Symbol D0-D8 Otp_clk Ceb Oeb Progb VDD GND Vpp Otp_res 9-bit data when EPROM write in/ verify Address increment clock when EPROM write in/ verify EPROM program enable, and high active EPROM output enable, and high active EPROM program enable, and high active Power supply of +6.5 V Ground In program mode, provide 12.5V to this pin Clear eprom address pointer, and high active Description
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 4 of 22
SC73P1601
Program time sequence:
Performance Characteristics Setup time of " Oeb" Setup time of " Ceb" Setup time of " D[8:0]"
www..com
Symbol tOES tCS tDS tCH tDH tVPS tVDS tPW
Condition
Min. 1 1 1 1 1 1 1 200
Typ. 300
Max. -
Unit s s s s s s s s
Hold time of " Ceb" Hold time of " D[8:0]" Setup time of " VPP" Setup time of " VDD" Pulse width of " Progb"
FUNCTION DESCRIPTION
SC73P1601 includes 4-bit MCU, outlay oscillator, system reset module. Next we will mainly introduce the functions. 1. PC PC refers to the program address pointer, 10 bits. The maximum addressing space is 1K ROM .The program counter contains the address of the instruction that will be executed next. The PC value is cleared to 0 after reset. The PC is set to predefined value when one of the 3 following occasions occurs: 1) when the JUMP instruction is executed; 2) when a subroutine call is back; 3) when a program call is back. In the SC73P1601, all instructions are one-byte instructions, PC increments by 1 each time an instruction is executed.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 5 of 22
SC73P1601
2. MBR Memory buffer register (MBR) is write-only, higher 4-bit of the program pointer. The EPROM of SC73P1601 can be divided into 8 blocks. Each block is 128 bytes. The 8 blocks can be addressed by the MBR. When the program starts executing a branch instruction, it must load the corresponding value to the MBR register, and then executes the command BSS label. 3. STACK Stack register stores the previous value of program pointer during execution of subroutine calls, 11 bits. There is two-level hardware stack register, so two-level programs can be called. When the user tries to make more than two-level program call, an error will occur. 4. B, H, D Referred to as the pointer to data table. BHD are separately 2 bits, 4 bits and 4 bits. The 1K EPROM space of SC73P1601 can be used as the data table which can be diplex with program space. When addressing the fixed data of EPROM, the registers act as the pointers to the data table (to form the EPROM address according to BHD order). In other cases, the H, D registers can be used as general purpose registers. Fixed data stored in the data table can be addressed by the transmit instructions. When executing the transmit-instructions, the program will look for the data from the correspond space of EPROM. The low 10 bits address of the EPROM are composed of two lower bits of B , four bits of H and four bits of D. When the most significant bit is 1, P53 transmits the data with carrier; while the most significant bit is 0, P53 transmits the data without carrier. The second bit of B is of no real use, and it is set 0 by the software at program imitation. 5. PROM Address
www..com
1k x 9bits
000H 001H 002H Subroutine call start address 01FH 020H Normal program Area (can be duplex as data table) 3FFH
6. CH0CH1CL0CL1 CH0, CH1, CL0, CL1 are carrier high and low level control registers, which can control the high-low level of carrier is (CH1)/fosc and(CL1)/fosc.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 6 of 22
SC73P1601
7. LL, LH LL register, 4 bits, LH register, bit. LL[3:0] is the address pointer of RAM, and is used as the general-purpose register at the same time. LH register, 4 bits, used as the general-purpose register. 8. RAM Data memory consists of 16x4 bits and is used to store temporary data and results after a program is executed. It can address the entire RAM areas by the pointer LL[3:0]. When reset, the contents of RAM are not defined. We recommend users to initialize it at the beginning of their software program. 9. ALU The arithmetic and logic unit plays a leading role in performing various operations of 4-bit binaries. The operation of ALU will change the carry flag (CF) and the zero flag(ZF). 10. Acc 4-bit accumulator, which is in the ALU. It is mostly used to store data and results. 11. CF Carry flag. 12. SF Status flag bit, the value of SF is 1 after reset. 13. PR (PR, PR2)
www..com mode register, which specifies the input mode or output mode of the I/O port, is 4-bit write-only. When The port
the value is 1, the corresponding port is set to output mode. PR=0, it is set to input mode. The execution of the HOLD instruction won' affect the I/O modes of operation. When reset, the initialization value is 0000B, and the t port is in input mode.
--
PR2.2
PR2.1
PR2.0 P50 mode select P51 mode select P52 mode select
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 7 of 22
SC73P1601
14. PORT SC73P1601 has 4 groups of I/O ports, totally 20 pins. Each group can operate in both input and output mode (except P50 and P53, P50 is only input port, P53 is only output port). Details are as follows: P0 port: P00-P03, 4-bit input/output port. The PR determines the port operation mode. In input mode, it has an internal pull-down resistor and can be used for keyboard scan input. When the input level is high, it can release the HOLD mode. In output mode, it can be used for keyboard scan output. P1 port: P10-P13, same as P0 port; P2 port: P20-P23, same as P0 port; P5 port: P50-P53 P50: only as input pin with pull-down resistor used for keyboard scan input. When input high level, the HOLD state is unlocked. P51: the configuration same as P00; P52: the configuration same as P00; P53: large current output port, this pin is used to output infrared remote signal. If P53 is set to 1, this pin outputs modulated signal with carrier or high level signal. If it is set to 0, it outputs low level voltage. 15. Timer/counter SC73P1601 has two internal timers: One is a 17-bit timer. The clock source of the timer is main frequency (fmain) of the circuit. There are timing steps from 10 (which generates pulses with frequency fmain/210) to 15 (fmain/215). The timer can output pulse frequency ranging from fmain/210 to fmain/215, and can be used for timer after releasing the HOLD mode. It can also be used as a WDT. After the HOLD mode released and the timer reset instruction TMRST executed, the timer value is cleared. The other timer is a carrier generator. Setting different length of high and low level time span respectively through programming, it generates various different duty and frequency carriers.
www..com
16. TR Timer register, it selects the status of the timer mode, use the instruction LD TM, A to write the data. SC73P1601 uses the instruction LD A, TM or LD @LR, TM to read the status of timer; TM to read the timing value. For example:
3 IBNS 2 1 TIBS TR timer register 0
17. IBNS The control bit of the read timer. When the value is 0, it reads TM3 (IT3), and IT2~IT0 become 0. When the value is 1, it reads 4-bit data TM3~TM0(IT3~IT0). TM3: 215/fmain TM2: 214/fmain TM1: 213/fmain TM0: 212/fmain
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 8 of 22
SC73P1601
Example: when the crystal oscillator select 455KHz, the corresponding time of port P50 is 212/4559ms. This means the time from TM=1111B to 1101 is 9ms, and the time from TM=1111B to 1110 is 4.5ms.See the following program: LD LD TMRST ...... LD LD LOOP: LD XOR JMPS END In above program, the time from TMRST start to END is 4.5ms, that it from TM=1111B to 1110B is 4.5ms.. Time change :
4.5ms 9ms
A#1000B TM,A
L,#TEMP @LL,#1110B A,TM A,@LL LOOP
9ms 9ms 18ms 36ms 18ms 36ms
The maximum adjustable time of the timer is 216/fmain. When the timer acts as a WDT and the timer is activated, it must execute the TMRST instruction and clear the timer in 2 16/fmain' time, otherwise, it will lead the WDT to s overflow, and causes the MCU to reset.
www..com
18. POC Circuit The POC circuit monitors the power supply voltage and applies an internal reset to the micro-controller. The POC circuit has the following functions: *Generates an internal reset signal when VDD< VPOC. (Note 1) *Cancels an internal reset signal when VDD > VPOC. Here, VDD: power supply voltage. VPOC: POC detection voltage.
VDD 3.6V 2.0V VPOC Operating ambient temperature Tamb=-20C~+75C POC detection voltage VPOC =1.4V~1.6V
0V Internal reset signal Reset Operation mode Note 1 Note 2
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 9 of 22
SC73P1601
Notes. 1. After the circuit is power on, there is a short oscillation stabilization wait time before the circuit is in operation mode. The oscillation stabilization wait time is about 216/fmain. 2. The POC circuit generates an internal reset signal when the power supply voltage has fallen to a certain value in working mode. 19. Instruction Cycle Instructions and internal operations are executed in synchronization with the main clock. The minimum time of carrying out a complete instruction is called the instruction cycle. SC73P1601 has 1 and 2-cycle two kind of instructions. An instruction cycle consists of 5 states (STCLK1 to STCLK5). Each state consists of 1 main clock. Therefore, the instruction cycle time is 5/fmain [s].
www..com
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 10 of 22
SC73P1601
INSTRUCTION SETS
1. Transmit instruction Instruction LD A, LL LD A, B LD A, H LD A, D LD A, @LL LD A, #k LD CL1, A LD CL0, A LD CH1, A LD CH0, A LDH A, @BD LDL A, @BD LDS A, @BD LDH @LL, @BD LDL @LL, @BD LDS @LL, @BD LD LL, A LD LL, #k LD @LL, A LD @LL, #k LD D, A LD H, A
www..com
Operation A LL AB AH AD A RAM(LL) Ak CL1 A CL0 A CH1 A CH0 A A ROM(BD)7-4 A ROM(BD)3-0 A ROM(BD)8 RAM(LL) ROM(BD)7-4 RAM(LL) ROM(BD)3-0 RAM(LL) ROM(BD)8 LL A LL k RAM(LL) A RAM(LL) k DA HA BA PR A PR2 A TM A A TM Load values in the LL register to the accumulator. Load values in the D register to the accumulator. Load values in the H register to the accumulator. Load values in the B register to the accumulator.
CF -------------------------------------------------------
SF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Cycle 2 2 2 2 1 1 2 2 2 2 2 2 2 2 2 2 2 1 1 1 2 2 2 2 2 2 2
LD B, A LD PR, A LD PR2, A LD TM, A LD A, TM
1 2 3 4 5 6 7 8 9 10
LD A, LL LD A, D LD A, H LD A, B LD A, @LL LD A, #k LDL A, @BD LDH A, @BD LDS A, @BD LDL @LL, @BD
Load the contents of RAM pointed at by the LL ( LL & LH) register to accumulator. Load the 4 bit immediate K to accumulator. Load the lower 4 bit of ROM data pointed at by the BHD to accumulator. Load the higher 4 bit of ROM data pointed at by the BHD to accumulator. Load the highest 1 bit of ROM data pointed at by the BHD to accumulator Load the lower 4 bit of ROM data pointed at by the BHD to RAM pointed at by the LL register.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 11 of 22
SC73P1601
11 LDH @LL, @BD Load the higher 4 bit of ROM data pointed at by the BHD to RAM pointed at by the LL register. 12 LDS @LL, @BD Load the highest 1 bit of ROM data pointed at by the BHD to RAM pointed at by the LL register. 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 LD LL, A LD LH, A LD LL,#K LD @LL, A LD @LL, #k LD D, A LD H, A LD B, A LD CL1, A LD CL0, A LD CH1, A LD CH0, A LD PR, A LD PR2, A LD TM, A LD A, TM Load the contents of the accumulator to the LL register. Load the contents of the accumulator to the LH register. Load immediate K to the LL register. Load the content of the accumulator to the RAM pointed at by the LL register. Load the immediate K to RAM pointed at by the LL register. Load the content of the accumulator to the D register. Load the content of the accumulator to the H register. Load the content of the accumulator to the B register. Load the content of the accumulator to the CL1 register. Load the content of the accumulator to the CL0 register. Load the content of the accumulator to the CH1 register. Load the content of the accumulator to the CH0 register. Load the content of the accumulator to the port register(PR). Load the content of the accumulator to the port register(PR2). Load the content of the accumulator to the timer register. Load the content of the timer register to the accumulator.
Execution the above transmit instructions will not affect the carry flag, and the status flag remains 1. 2. Input/output instructions Instruction LD A, %p
www..com %p LD @LL,
Operation A PORT(p) RAM(LL) PORT(p) PORT(p) A PORT(p) RAM(LL)
CF ---------
SF /Z /Z 1 1
Cycle 2 2 2 2
LD %p, A LD %p, @LL
a. b. c. d.
LD A, %P LD @LL, %p LD %p, A LD %p, @LL
Move the value of port(P) to the accumulator Move the value of port(P) to RAM pointed at by the LL register. Move the contents of the accumulator to port (P). Load the contents of RAM pointed at by the LL register to port(P).
The above four input/output instructions are used mostly for port operation, the two read instructions will affect the status flag SF.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 12 of 22
SC73P1601
3. Arithmetic and logical instructions Instruction ADD A, @LL ADDC A, @LL ADD A, #k ADD LL, #k SUBRC A, @LL INC @LL DEC @LL INC LL DEC LL INC D INC H INC B DEC D DEC H DEC B AND A, @LL OR A, @LL XOR A, @LL Operation A A+RAM(LL) A A+RAM(LL)+CF A A+k LL LL+k A RAM(LL)-A-/CF RAM(LL) RAM(LL)+1 RAM(LL) RAM(LL)-1 LL LL+1 LL LL-1 D D+1 H H+1 B B+1 D D-1 H H-1 B B-1 A A&RAM(LL) A A | RAM(LL) A A^RAM(LL) CF --C ----C --------------------------SF /C /C /C /C C /C C /C C /C /C /C C C C /Z /Z /Z Cycle 1 1 1 2 1 1 1 2 2 2 2 2 2 2 2 1 1 1
1. 2. 3. 4.
ADD A, @LL ADDC A, @LL ADD A,#K ADD L,#K
Add the contents of RAM pointed at by the LL to accumulator, store the sum in the ACC. This operation will affect SF, SF=/CF. Add the contents of RAM pointed at by the LL register to accumulator with carry. Store the carry bit in the CF. This operation will affect SF, SF=/CF. Add immediate K to accumulator. Store the sum in the ACC. This will affect SF, SF=/CF. Add immediate K to the LL register. Store the sum in the LL. This will affect SF, SF=/CF. Subtract instruction with borrow(the complement of carry). Subtract the contents of the accumulator from the contents of RAM pointed at by the LL register, subtract the complement of the carry bit, then store the results in the accumulator, transfer the carry bit to the CF, this will affect SF and CF, SF=CF. Increment instruction. Increment the contents of RAM pointed at by the LL register by 1. This will affect SF, SF=/CF. Decrement instruction. Decrement the contents of RAM pointed at by the LL register by 1. This will affect SF, SF=CF. Increment instruction. Increment the contents of the D register by 1. This will affect SF, SF=/CF. Increment instruction. Increment the contents of the H register by 1. This will affect SF, SF=/CF. Increment instruction. Increment the contents of the B register by 1. This will affect SF, SF=/CF.
www..com
5.
SUBRC A, @LL
6. 7. 8. 9. 10.
INC @LL DEC @LL INC D INC H INC B
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 13 of 22
SC73P1601
Decrement instruction. Decrement the contents of the D register by 1. This will affect SF, SF=CF. Decrement instruction. Decrement the contents of the H register by 1. This will affect SF, SF=CF. Decrement instruction. Decrement the contents of the B register by 1. This will affect SF, SF=CF. Increment instruction. Increment the contents of the LL register by 1. This will affect SF, SF=/CF. Subtract 1 from the content in register LL. SF is affected, SF=/CF. The contents of the accumulator and RAM pointed at by the LL register are ANDed and the results are stored in the accumulator. SF changed, SF=/Z. The contents of the accumulator and RAM pointed at by the LL register are ORed and the results are stored in the accumulator. SF changed, SF=/Z. The contents of the accumulator and RAM pointed at by the LL register are XORed and the results are stored in the accumulator. SF changed, SF=/Z.
11. 12. 13. 14. 15. 16. 17. 18.
DEC D DEC H DEC B INC LL DEC LL AND A, @LL OR A, @LL XOR A,@LL
4. Bit operation instructions Instruction CLR @LL, b SET @LL, b TEST @LL, b a. b. c. CLR @LL, b SET @LL, b TEST @LL, b Operation RAM(LL)b0 RAM(LL)b1 SF/RAM(LL)b CF ------SF 1 1 * Cycle 2 2 2
Clear the B-bit of the RAM pointed at by the LL register. Set the B-bit of the RAM pointed at by the LL register to be 1. Test the B-bit of the RAM pointed at by the LL register. If this bit is1, the SF is set to 0; otherwise, the SF is set to 1.
www..com
5. Carry operation instructions Instruction CLR CF SET CF TESTP CF a. b. c. CLR CF SET CF TESTP CF CF0 CF1 SFCF Clear the carry flag to logic zero. Set the carry flag to logic 1. Test the carry flag, send the carry flag to SF. Operation CF 0 1 --SF 1 1 * Cycle 2 2 1
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 14 of 22
SC73P1601
6. Branch instructions Instruction BSS label JMPS label instruction Set for details. BSS label Jump to destination address label with range of 128 bytes JMPS label Jump to destination address label with range of 2K program. Symbol description of above instructions: a. b. c. d. label #k b %p Destination address of jump Immediate (0~15) Bit addressing (0~3) Port address Operation CF ----SF 1 1 Cycle 2 3
Jump instruction is active only when SF is 1, or else next instruction is executed. Please read the Pseudo-
7. Subroutine instructions Instruction CALLS label RET 01FH. 8. Other instructions Instruction HOLD NOP
www..com
Operation
CF -----
SF -----
Cycle 2 2
When executing subroutine call and return instructions, the subroutine starting address is limited from 000H to
Operation
CF -----
SF 1 -----
Cycle 1 1 1
TMRST a. b.
Reset timer counter
---
HOLD NOP TMRST
After executing this instruction, MCU is in the power-save mode, the clock stops oscillation and power consumption reduces dramatically. Null operation. It doesn' affect anything. t Timer clear command. It will clear all values of the timer to 0. This instruction is often used to reset WDT in program.
c.
9. Pseudoinstruction ORG Format: [Label:] ORG address Function: Redefine following start address Expression: Label: selectable Address: redefined address, can be binary, decimal or hexadecimal. Redefined address is an absolute address which could not be returned back. That is, the redefined address
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 15 of 22
SC73P1601
should be higher than that above, or a fault is occurred during compiling. 000H is defaulted if no address is set by ORG instruction. Example: ORG 0100H EQU Format: Symbol EQU digital Function: Define a digital as a symbol. Symbol digital. Expression: Symbol should be legal, and digital should be binary, decimal or hexadecimal. There is no colone before EQU in definition, and it can only useful after the definition. Example: Data1 EQU 12H Data2 EQU 1001B DB Format: [Label:] [num] DB data Function: Define data with number of num. Expression: Label: selectable Num: indicates number of data, default value is 1. Data: data to be written to ROM. It should smaller than 0X200 as ROM is only 9-bit.lower 9-bit value of data
www..com warning if it is more than 0x200.( only lower 8-bit is taken if the instruction is used for data table) is taken with
Example: DB 12H ; Define one data ; Define one data DB 10010B
12H DB 55H ; Define continuous 18 data JMPS Format: [Label:] JMPS address Function: Jump in ROM. Expression: Label: selectable Address can be a digital, symbol defined by EQU or the address symbol. Combined by: LD MBR, #k BSS label
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 16 of 22
SC73P1601
The instruction is 2-byte long, and it can jump to any position in the ROM. Example: JMPS MAIN JMPS 100H VENT Format: VENT label Function: Define the entry and reset address of sub-program. Expression: Label is the sub-program name or the address symbol. Use VENT to specify the entry and reset address of the sub-program, and it must be at the beginning of the program. The first VENT denotes the reset address and the following VENT instructions denote the entry of the sub-program. In general, 16 sub-programs can be defined at most. All the sub-programs called by CALL instruction should be defined in VENT, or else errors will occur in assembly. Example: VENT MAIN VENT SUB1 VENT SUB2 ... ... ... ... .. ORG 100H MAIN: NOP NOP CALLS SUB1
www..com
CALLS SUB2 SUB1: ............. SUB2: .............
.............
END Format: END Function: Use the END instruction to end the assembly of a program. Expression: END pseudoinstruction ends the assembly of a program and the content after END will not be processed by assembler. If END is omitted, the assembler will process all the lines of the source file. Example: END
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 17 of 22
SC73P1601
Remote control flow chart:
www..com
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 18 of 22
SC73P1601
TYPICAL APPLICATION CIRCUIT
SC73P1601
www..com
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 19 of 22
SC73P1601
PACKAGE OUTLINE
SSOP-20-300-0.65 Unit: mm
SOP-20-300-1.27
Unit: mm
www..com
0.150.05
1.27 12.700.25
0.45
2.25MAX
11.43
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 20 of 22
SC73P1601
PACKAGE OUTLINE (Continued)
SSOP-20-225-0.65 Unit: mm
SOP-20-375-1.27
Unit: mm
www..com
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 21 of 22
SC73P1601
MOS DEVICES OPERATE NOTES:
Electrostatic charges may exist in many things. Please take following preventive measures to prevent effectively the MOS electric circuit as a result of the damage which is caused by discharge: l l l l The operator must put on wrist strap which should be earthed to against electrostatic. Equipment cases should be earthed. All tools used during assembly, including soldering tools and solder baths, must be earthed. MOS devices should be packed in antistatic/conductive containers for transportation.
www..com
Disclaimer: * * Silan reserves the right to make changes to the information herein for the improvement of the design and performance without further notice! All semiconductor products malfunction or fail with some probability under special conditions. When using Silan products in system design or complete machine manufacturing, it is the responsibility of the buyer to comply with the safety standards strictly and take essential measures to avoid situations in which a malfunction or failure of such Silan products could cause loss of body injury or damage to property. * Silan will supply the best possible product for customers!
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: www.silan.com.cn
REV:1.4
2009.08.03 Page 22 of 22


▲Up To Search▲   

 
Price & Availability of SC73P1601

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X